package com.traveliko.model;

import java.io.Serializable;

/**
 * Created by Yasir Shabbir on 2/14/2017.
 */

/*
This MOdel class is return PieChart data.
 */
public class PieChart implements Serializable{


    private static final long serialVersionUID = 4179102156404663243L;
    private String category;
    private String value;
    private String color;


    public PieChart(String category, String value, String color) {
        this.category = category;
        this.value = value;
        this.color = color;
    }

    public String getCategory() {
        return category;
    }

    public void setCategory(String category) {
        this.category = category;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    @Override
    public String toString() {
        return "PieChart{" +
                "category='" + category + '\'' +
                ", value='" + value + '\'' +
                ", color='" + color + '\'' +
                '}';
    }
}
